Fixed twice or more consecutive query to sphinx

see #4830.
This method does not make any sense. Checks for same conditions apply are not performed anywhere at data storage solutions.