Fix convertToKelvin for T = int