TRUNK-4311 Parent type can't be among descendants of a given order type

Auto format - TRUNK-4138