has more pages was showing no records on last page