Fixes for #2160. SphinxQL does not support OFFSET

This pull request must be connected with this: #2160