--- views_handler_argument_term_node_tid_depth.inc
+++ (clipboard)
@@ -89,7 +89,7 @@
       $placeholder = "= %d";
       $tids = array($this->argument);
     }
-    $subquery = "\n  SELECT tn.vid FROM {term_node} tn\n";
+    $subquery = "\n  SELECT tn.tid FROM {term_node} tn\n";
     $where = "  WHERE tn.tid $placeholder\n";
     $args = $tids;
     $last = "tn";
@@ -112,8 +112,8 @@
         $last = "th$count";
       }
     }
-
-    $this->query->add_where(0, "$this->table_alias.$this->real_field IN ($subquery$where  )", $args);
+    
+    $this->query->add_where(0, "{term_node}.tid IN ($subquery$where  )", $args);
   }
 
   function title() {
