Index: /branches/release-41/php/lib/mtdb_base.php
===================================================================
--- /branches/release-41/php/lib/mtdb_base.php (revision 2653)
+++ /branches/release-41/php/lib/mtdb_base.php (revision 2658)
@@ -923,5 +923,5 @@
             $no_resort = 1;
         } elseif ( !is_null($total_count) ) {
-            $orig_offset = $post_select_offset ? $post_select_offset : $orig_offset;
+            $orig_offset = $post_select_offset ? $post_select_offset : $offset;
             $orig_limit = $post_select_limit ? $post_select_limit : $limit;
         } else {
