first aggregate working down to SQL. Assert is faling