another bug fix in subgroup exclusion