BZ-12621 fixed issue with invites