fix pagination for comments and messages
Merge pull request #22 from azul/bugfix/6692-fix-post-pagination

fix pagination for comments and messages