diff --git a/uc_event_registration.install b/uc_event_registration.install
index d4d134a..9c53dcf 100755
--- a/uc_event_registration.install
+++ b/uc_event_registration.install
@@ -126,7 +126,7 @@ function uc_event_registration_update_6101() {
  */
 function uc_event_registration_update_6100() {
   $res = array();
-  $res[] = update_sql("UPDATE {webform} w LEFT JOIN {node} n ON w.nid = n.nid SET w.redirect_url = 'cart/checkout' WHERE n.type = 'paidevent';");
+  $res[] = update_sql("UPDATE {webform} SET redirect_url = 'cart/checkout' WHERE nid IN (SELECT nid FROM {node} WHERE type = 'paidevent');");
   return $res;
 }
 
