Fix result indexing

Previously results after the first page were off by one
Merge pull request #32 from glguy/master

Fix result indexing by page