getFirstPage returns page with index 0, fixes #431