Fix pagination path