make sure that switch events don't pollute the filtering system state