Fixed loading of dataset metadata.