Fixed a bug that prevented multiple rows in a grid from being exported