Fixed fatal error with group deletion.