[fix bug 859945] Task to delete empty groups.