#62 - fix "lastPage" java.lang.IndexOutOfBoundsException