Fix tricky bug for phones in agreement contacts.