fixed the bug when there is a double quote on the search term
fixed a bug where the results aren't correct when the characters ~ and < are present