removed ORDER BY NULL statement in queries without ORDER BY