Fix group deletion