Compensate for negative temperature values