Fix findRelation logic: Once findRelation from composite state, OwningStateMachine should also be considered