Fix getRelationResult and remove getRelation