Modify function: reachedLastPage.
	change return self.page >= totalPages;
	to return self.page > totalPages;.