Fix issues getting the name of a contact