Fixed a minor issues with schematics saving the wrong array size