Fixed searching of names in UTF-8 encoding.