Fix relation sets