Make sure the data is correct before adding to the grid.