Fixed the removeRelationship() method

it was throwing errors i finished it