fix between query parameters

Resolves issue #98. Version 1.5 changed the way that between query was called.