Fix crash when adding buddies