Fix incorrect duplicate relationship