Fix invite to subgroup

[Needs CR/sign-off]
May need to be checked against Rich's pull request, just in case...