Fixed issue with broken pagination
Merge pull request #62 from tvernon/index

Fixes #60