Fix TypeError resulting from parentType.typeForRelationship(name) returning undefined.