diff --git a/project_forecast.module b/project_forecast.module
index 05764ce..6b5b7ca 100644
--- a/project_forecast.module
+++ b/project_forecast.module
@@ -339,7 +339,9 @@ function _project_forecast_tasks($constraints = array()) {
 
   // Make sure the query is not cached
   $view->is_cacheable = FALSE;
-  $view->execute_display(NULL, $view_args);
+  $view->set_display($display_id);
+  $view->set_arguments($view_args);
+  $view->preview();
 
   // Parse the results into a readily usable result array.
   $tasks = value_provider_results($view, $value_providers, 'nid', 'array');
