Fixed bug in HDF5Loader.