Fix bug where unnecessary HYD values were written in MDL format