diff --git a/assets/js/match_query.js b/assets/js/match_query.js index fb9062fc..9cfab1fd 100644 --- a/assets/js/match_query.js +++ b/assets/js/match_query.js @@ -573,9 +573,9 @@ function generateLexArray(searchStr, options) { } tokenStack.push(op); } - } - if (groupNegate.length > 0 && groupNegate.pop()) { - tokenStack.push('not_op'); + if (groupNegate.length > 0 && groupNegate.pop()) { + tokenStack.push('not_op'); + } } break; case 'fuzz':