Fix case where only tavg is supplied.