Index: terms_of_use.pages.inc
===================================================================
--- terms_of_use.pages.inc	(revision 2385)
+++ terms_of_use.pages.inc	(working copy)
@@ -12,7 +12,7 @@
 function terms_of_use_autocomplete($string = '') {
   $matches = array();
   if ($string != '') {
-    $result = db_query_range(db_rewrite_sql("SELECT nr.title FROM {node_revisions} nr WHERE LOWER(nr.title) LIKE LOWER('%%%s%%')"), $string, 0, 10);
+    $result = db_query_range(db_rewrite_sql("SELECT n.title FROM {node} n WHERE LOWER(n.title) LIKE LOWER('%%%s%%')"), $string, 0, 10);
 
     while ($node = db_fetch_object($result)) {
       $matches[$node->title] = $node->title;