Fixed another bug in SimulatedAlignment.