Fix mapWormholes wormhole linking A->B->A restriction.
