DeleteDatasetCommand now triggers indexing (closes #4040)