[#364] fixed crash in contact autocomplete