pagination was not rounding up, therefore displaying one page short of required