Fixed Repeat Pagination Bug