Cleaned up list page pagination.