Fix a index in Relationship model