I'm curious, why do you need the indexOf() and toStr() portions of that expression? I would have thought that the expression below would work, but I'm guessing I'm missing something important:
qualityOf({tag}) != 'Bad_NotFound' &&
qualityOf({tag}) != 'Bad_Disabled'