Handle unknown totals when paginating