fix pagination skip, was not taking into account per page
Merge pull request #575 from chrisgogreen/master

fix pagination skip, was not taking into account per page