Fixed bug in pagination
Merge pull request #3 from oschettler/bug/2-pagination

Fixed bug in pagination