Fixed AIOOB exception that prevented schematics to save.