fix pagination error
Merge branch 'develop' of https://github.com/DonutWorks/Ari into develop