basis.data: some fixes for resolveDataset