Found a bug with constructing a dataspace from a dataset.