Fixed error in intermsg time calculation.