fix UIUtils.addRelationTypesToMenu to resolve the subrelation properly (introduced in 19f38b4ea229bbc258abf422116625b34bc021ab)