Fix: Javascript error when using smart filtering with quotes for exact matching