--- modules/search/views_handler_filter_search.inc	2011-03-15 12:00:49.813277230 +0000
+++ modules/search/views_handler_filter_search_new.inc	2011-03-15 11:59:57.973289759 +0000
@@ -101,8 +101,12 @@ class views_handler_filter_search extend
       }
       $this->query->add_where($this->options['group'], "$search_index.type = '%s'", $base_table);
       if (!$this->search_query[5]) {
-        $search_dataset = $this->query->add_table('search_dataset');
+        $search_dataset = $this->query->add_table('search_dataset', $this->relationship);
         $this->search_query[0] = str_replace('d.', "$search_dataset.", $this->search_query[0]);
+        $extra = $this->query->table_queue[$search_dataset]['join']->extra;
+        $extra = str_replace('search_index.', "$search_index.", $extra);
+        $extra = str_replace('search_dataset.', "$search_dataset.", $extra);
+        $this->query->table_queue[$search_dataset]['join']->extra = $extra;
         $this->query->add_where($this->options['group'], $this->search_query[0], $this->search_query[1]);
       }
 
