Do not group empty grids.