Fix pagination from page_tab