Fixed a bub where empty subGrids cancelled exporting of the remaining subgrids.