Fixes problem with deleting rows now grouping is being used

This problem came from the fact that when grouping is enabled on the
datasource helper, the sortedRows are 2 deep, with the top level being
a SDataGridDataGroup. This commit updates the code to step through this
next level of tree.