fixed a bug with lists, and added rounding to aggregateresults