Fix problem reading top level datasets.