Found bug in renameInObjectAggregation()
Fix bug in renameInObjectAggregation()
More testing
Testing and bug fixes