Adding checks to ensure that a predecessor is only recorded once for a transition.