Simply fix a query