Fix relation match