Add missing flaggables2 clearing block to counter clear call and reuse a local variable.