fix case export custom filters to be more consistent + tests
Merge pull request #833 from dimagi/export-filter-fix

fix case export custom filters to be more consistent + tests