Fixed problems with requerying group and child cursors after update/insert
Fixed issue with expandGroup when cursor.getCount()==0