Fixed bug in Model#defineRelationship that was causing reference overlap