two mesures that prevent crash when transaction_cursor and grouping_cursor get out of sync: we do not call notifydataset changed to early, and we check for the case we have a transaction that was not found in a group (mGroupingCursor will be afterLast)