Delete groups when all children are deleted