Solving bugs on empty results and between comparisions

When it returns empty result the result _results_left is true by
default and it tries to get data that doesn't exist.
When a between condition is added on the query the parameters needs to
be two separated string values ( not a SS field )