Paging bug, when page_size > total - corrected