Fix editing of datasets.