Fixed miss-out on conversion for doGetEnergy