Fixed problem with deletion of data sets