Fixed a memory handling error in the new MISO code, that could potentially cause troubles.