Fixed bug where temperature conversion wouldn't work if same unit for
input and output was used.