fixed redundant ticks at the beginning of a new tickless idle period.