Reset offset back to 0 for paginations

Pagination bug fix