[BUG] Fixes bug on reset datasets.