Fix bugs with multilingual search queries