Fixes bug with data commit in grid.