Minor changes to allow deleting datasets