Fix rare case where paginator breaks