Modified EnergyNode so it does the right thing when 'cumulative' is set