Deal with no pages in paginaion list.