J
That is a bug that needs to be fixed. You should not logically invite someone to join a Group that you are not a part of.
Were you able to reproduce it ? what are the steps ?