Grids: Fix dataset state viewer in saved histories