Fixed a return issue in ElectricalNode