diff --git a/timber.php b/timber.php
index <HASH>..<HASH> 100644
--- a/timber.php
+++ b/timber.php
@@ -378,8 +378,7 @@ class Timber {
         });
         add_action('wp_loaded', function ($template) use ( $template, $query ) {
             if ($query) {
-                global $wp_query;
-                $wp_query = new WP_Query($query);
+                query_posts( $query );
             }
             if ($template) {
                 load_template($template);
Use query_posts instead of manually modifying the global  (result is exactly the same)