remove perentheses from doc group counts. Fix #1018
fix filtering by securities on document list
Merge branch 'doc_overhaul' into testing