Fixed default scope logic for pagination