Updated query-posts.php