Fix the issue with the topologies attached to a communicator.