Basic pagination queries are working