Don't return transitions from get_transitions if their guard fails