Add pagination for documents
off by one error
Add for reports
Fixes #19