minor fix in HDF5 genericreader

more fixes on this feature coming soon with current WIP branch