Move 'No longer supported' checks for aggregate clauses up above the implicit where clause unfolding, because otherwise you could end up with 'sum'/'min'/'groupBy'/etc getting nestled in the 'where' clause automatically, and thus miss seeing the error message.  (We also could stick these unsupported clauses in the whitelist, but that would be weird and annoying to maintain)
Move 'No longer supported' checks for aggregate clauses up above the implicit where clause unfolding, because otherwise you could end up with 'sum'/'min'/'groupBy'/etc getting nestled in the 'where' clause automatically, and thus miss seeing the error message.  (We also could stick these unsupported clauses in the whitelist, but that would be weird and annoying to maintain)

luislobo/waterline,balderdashy/waterline