Fix bug with cyrillic query