diff --git a/modules/comment/views_handler_filter_comment_user_uid.inc b/modules/comment/views_handler_filter_comment_user_uid.inc
index 8e64ef7..4f9e711 100644
--- a/modules/comment/views_handler_filter_comment_user_uid.inc
+++ b/modules/comment/views_handler_filter_comment_user_uid.inc
@@ -19,6 +19,6 @@ class views_handler_filter_comment_user_uid extends views_handler_filter_user_na
       ->condition("$this->table_alias.uid", $this->value, $this->operator)
       ->exists($subselect);
 
-    $this->query->add_where(0, $condition);
+    $this->query->add_where($this->options['group'], $condition);
   }
 }
diff --git a/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc b/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
index 0a241d7..3955269 100644
--- a/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
+++ b/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
@@ -89,6 +89,6 @@ class views_handler_filter_term_node_tid_depth extends views_handler_filter_term
     }
 
     $subquery->condition($where);
-    $this->query->add_where(0, "$this->table_alias.$this->real_field", $subquery, 'IN');
+    $this->query->add_where($this->options['group'], "$this->table_alias.$this->real_field", $subquery, 'IN');
   }
 }
