Bugfix for queries using multiple predicates including a Metric predicate in combination with limit/offset.