refactor complement filtering functions: use the same fn for cc10 and hh21 and soon, ch21.