fix group deletion code
Merge commit 'github/testing' into beta