Minor fix in relations import function