Fixed codelist selection after delete