[#65804306] Join first with the relationship_types otherwise the name constraint is not applied correctly