Updated thread search to ignore ascii characters