Make sure that all encapsulation hierarchies are in one and the same group.