Fix searches freezing due to unescaped ignored or required words