fixes the issue #490 updating SparseDataset to works with data_specs

... the iterator with data_specs