Minor fix on id_record