diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 048ece0a5..15c7a581c 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -1126,6 +1126,7 @@ export class AstFilterParser { if ( tail !== 0 ) { this.linkRight(prev, tail); } + if ( this.astType !== AST_TYPE_NETWORK ) { return 0; } this.validateNet(); return this.throwHeadNode(head); }