Minor fix on groups delete