Added Limit and Order to a query metric.