Fix handling initial index larger than liens per page

ref #123
Merge pull request #130 from hirose31/fix/pagination-initial-index

Fix handling initial index larger than liens per page