Fixed max temperature data bug