Improve parameter validation on the query method