Fixed a bug when search query contains special characters (like '\')