Fixed prescaler index overflow