diff --git a/includes/taxonomy_access_handler_filter_create.inc b/includes/taxonomy_access_handler_filter_create.inc
index efea407..107136c 100644
--- a/includes/taxonomy_access_handler_filter_create.inc
+++ b/includes/taxonomy_access_handler_filter_create.inc
@@ -28,6 +28,6 @@ class taxonomy_access_handler_filter_create extends views_handler_filter {
     $this->query->ensure_table('term_access', $this->relationship, $join);
 
     // Where one of the user's roles has grant_create for this term record.
-    $this->query->add_where($this->options['group'], "term_access.grant_create = 1 AND term_access.rid IN (SELECT rid FROM users_roles WHERE uid = ***CURRENT_USER***)");
+    $this->query->add_where($this->options['group'], "term_access.grant_create = 1 AND term_access.rid IN (SELECT rid FROM {users_roles} WHERE uid = ***CURRENT_USER***)");
   }
 }
diff --git a/includes/taxonomy_access_handler_filter_delete.inc b/includes/taxonomy_access_handler_filter_delete.inc
index 2d92321..de3be76 100644
--- a/includes/taxonomy_access_handler_filter_delete.inc
+++ b/includes/taxonomy_access_handler_filter_delete.inc
@@ -28,6 +28,6 @@ class taxonomy_access_handler_filter_delete extends views_handler_filter {
     $this->query->ensure_table('term_access', $this->relationship, $join);
 
     // Where one of the user's roles has grant_delete for this term record.
-    $this->query->add_where($this->options['group'], "term_access.grant_delete = 1 AND term_access.rid IN (SELECT rid FROM users_roles WHERE uid = ***CURRENT_USER***)");
+    $this->query->add_where($this->options['group'], "term_access.grant_delete = 1 AND term_access.rid IN (SELECT rid FROM {users_roles} WHERE uid = ***CURRENT_USER***)");
   }
 }
diff --git a/includes/taxonomy_access_handler_filter_list.inc b/includes/taxonomy_access_handler_filter_list.inc
index a20204c..868863b 100644
--- a/includes/taxonomy_access_handler_filter_list.inc
+++ b/includes/taxonomy_access_handler_filter_list.inc
@@ -28,6 +28,6 @@ class taxonomy_access_handler_filter_list extends views_handler_filter {
     $this->query->ensure_table('term_access', $this->relationship, $join);
 
     // Where one of the user's roles has grant_list for this term record.
-    $this->query->add_where($this->options['group'], "term_access.grant_list = 1 AND term_access.rid IN (SELECT rid FROM users_roles WHERE uid = ***CURRENT_USER***)");
+    $this->query->add_where($this->options['group'], "term_access.grant_list = 1 AND term_access.rid IN (SELECT rid FROM {users_roles} WHERE uid = ***CURRENT_USER***)");
   }
 }
diff --git a/includes/taxonomy_access_handler_filter_update.inc b/includes/taxonomy_access_handler_filter_update.inc
index b3dc687..b17ebc3 100644
--- a/includes/taxonomy_access_handler_filter_update.inc
+++ b/includes/taxonomy_access_handler_filter_update.inc
@@ -28,6 +28,6 @@ class taxonomy_access_handler_filter_update extends views_handler_filter {
     $this->query->ensure_table('term_access', $this->relationship, $join);
 
     // Where one of the user's roles has grant_update for this term record.
-    $this->query->add_where($this->options['group'], "term_access.grant_update = 1 AND term_access.rid IN (SELECT rid FROM users_roles WHERE uid = ***CURRENT_USER***)");
+    $this->query->add_where($this->options['group'], "term_access.grant_update = 1 AND term_access.rid IN (SELECT rid FROM {users_roles} WHERE uid = ***CURRENT_USER***)");
   }
 }
diff --git a/includes/taxonomy_access_handler_filter_view.inc b/includes/taxonomy_access_handler_filter_view.inc
index dc72550..92a14ef 100644
--- a/includes/taxonomy_access_handler_filter_view.inc
+++ b/includes/taxonomy_access_handler_filter_view.inc
@@ -28,6 +28,6 @@ class taxonomy_access_handler_filter_view extends views_handler_filter {
     $this->query->ensure_table('term_access', $this->relationship, $join);
 
     // Where one of the user's roles has grant_view for this term record.
-    $this->query->add_where($this->options['group'], "term_access.grant_view = 1 AND term_access.rid IN (SELECT rid FROM users_roles WHERE uid = ***CURRENT_USER***)");
+    $this->query->add_where($this->options['group'], "term_access.grant_view = 1 AND term_access.rid IN (SELECT rid FROM {users_roles} WHERE uid = ***CURRENT_USER***)");
   }
 }
