Fixed bug with aggregate