Fixes an issue with duplicating chat room contacts when invite is accepted.