=== modified file 'uc_order/uc_order.install'
--- uc_order/uc_order.install	2009-04-28 16:24:01 +0000
+++ uc_order/uc_order.install	2009-04-29 15:45:12 +0000
@@ -936,7 +936,7 @@
 
   $limit = 100;
 
-  $result = db_query_range("SELECT order_id, data FROM {uc_orders} WHERE data LIKE '%%new_user%%' AND order_id > %d ORDER BY order_id", $sandbox['order_id'], 0, $limit);
+  $result = db_query_range("SELECT order_id, data FROM {uc_orders} WHERE data LIKE '%%new_user%%' AND order_id > %d ORDER BY order_id", $sandbox['current_order_id'], 0, $limit);
   while ($order = db_fetch_object($result)) {
     $order->data = unserialize($order->data);
     if (isset($order->data['new_user']['pass'])) {

