Math and aggregate expressions

Should this all be indented one more slot?  Otherwise if arg is not an array, 'filtered' will be undefined here.