I'd like to ask you to reconsider procedure of friend list purging. Even though as you said "This is a problem of Steam not updating their 'cache' or whatever of the friendlist.", actual number of friends can be updated by sending friend request on your own, after another person accepted invite, number of friends gets updated. Thus I'd like to ask completely remove all friends and readd owner of the bot when purging is necessary.
And if it's possible, could it be done on my bot because no one can add it atm... ;(
Thank you for your time.