Fixed delete of failed datasets.
Merge branch 'test' into dev