Update to mirror functionality.

Trying to actually compute the set intersection of the available modes
and then set both outputs to the 'best' match.