Fix pagination.
Merge pull request #33 from johnotander/fix-pagination

Fix pagination.