Fix for pagination bug (DIG-139).