Make sure pagination.next is falsy on the last page