Fix reports crashing based on date compare type
Merge pull request #2229 from dimagi/fix-reports-again

Fix reports crashing based on date compare type
Merge branch 'commtrack-makethehurtingstop' into rebuild-staging