Handle properly wrong query results