fixes filter counter