Fixed deleting dataset type bug