Quicksort has an expected runtime of $\mathcal O(n\log n)$ when choosing a pivot uniformly at random. Now consider that before each iteration of quicksort, we sample $\log n$ elements of the array and compare them with with the pivot (chosen uniformly at random), and only keep the pivot if it is in the middle third of the sampled array, otherwise we sample again (both pivot and the $\log n$ elements). The purpose of this would be to avoid running the partition operation (which takes $\mathcal O(n)$ time) with bad pivots.
I would like to analyze the running time of this algorithm. I know that when choosing the expected runtime in the original case, it satisfies $$ T(n) \leq \mathcal O(n) + \frac{1}{n} \sum^{n-1}_{i=0}(T(i) + T(n-i))$$
What is the expected running time recurrence in this modified version of quicksort?
My guess is that it the expected running time would become, $$ T(n) \leq \left( \frac{1}{3} \right)\log n + \left( \frac{2}{3} \right) ( \mathcal O(n) + \frac{1}{n} \sum^{n-1}_{i=0}(T(i) + T(n-i))),$$ but I'm not sure.