fix(scope): use correct filters when digesting scope tree