Fix bug: now time ruler show correct time range for average number > 1.