Tabled aggregates in 3.6 has introduced a bug. The behavior was correct in 3.5. Aggregate appears to return the last answer instead of the meet between the current and next. See attached file that shows this behavior (compile on 3.5 => no bug; compile and run on 3.6 => bug).