Fixed a script crash when an Asic gets disabled.