use new style filter
Merge pull request #1060 from dimagi/ccfilter_fix

use new style filter