Fix saving as array #2259