Prevent state transition from child to parent.