Fixed a bug that prevented new rows from being added to a grid