don't blow up reports page if a dynamic report is not configured right
clean up error handling
Merge pull request #1893 from dimagi/dynreportfix

don't blow up reports page if a dynamic report is not configured right