Fix add to allow adding empty datasets