Fix photoset's pagination.