fix for allowing relationships to have the same key as teh data