Fixing return values in QueryExpression doc blocks
Adding test for using an expresison field with between and fixing code