migrate to sqlagg filters
Merge pull request #988 from dimagi/sqlagg_filters

migrate to sqlagg filters