Fixing native sql aggregator (since SFSmartStore now expects SFSoupIndex instead of dictionaries)