Fix for getRelationships