Summary Button Not Hidden dynamic GroupBy

When you use dynamic grouping, the summary button is not hidden when you deselect all pooling fields.
The summary button must be hidden when all fields are deselected.
Please solve this anomaly.
Try the dynamic grouping, first to select a field, and then group and then uncheck all, the summary button is not hidden.