Remove control characters from user-submitted search queries