Fix for pagination test