Fix default page function for PaginationState