Fix relation already existing error