Fix bad check for first page in PaginatedState