Properly handle invalid client ID when adding friend.