Simulator bug fix

The bug was that the simulator would not correctly identify the
reassortant edges.