Bugfixes for invitations (leader cannot accept invitation from another team)