Fix crash on deleting friend.