It misses a check for the counter enabled here.