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