Fix for pagination
Merge pull request #3 from vanpop/master

Fix for pagination