Fix problem where document count didn't match documents in body of email. This was happening for documents that had an agency with a nil idea in their chain of parent agencies.
 * Change any? to all?
 * Add a 'next' for nil agency id's.