filterTypes.addAll(currentFilterTypes);
filterTypes.removeAll(currentRetainTypes);
FSMatchConstraint typeConstraint = createTypeConstraint(filterTypes);
FSMatchConstraint constraint = new NotConstraint(typeConstraint);
if (additionalWindow != null && windowConstraint) {
constraint = cf.and(additionalWindow, constraint);
}
return constraint;
}