Paginator hasNextPage() now correctly reports false when there are no
items to be paged over.

Previously was not working when totalItems is 0.