fix for UnionConstraint