Query.php: fix php "Warning" error