update removeBuddies function

wasn’t correctly searching for objects
changed invite behavior