SystemGroup: fix group and user deletion.