Fixed an issue with TElectricStorage