Fixes little mistake for pagination type