Invalidating counters properly