Add a query limit