Fixed: thermalEnergy (number) was being used as boolean, closes #112