Another bug fix in HDS.bin2struct