Fixed bug in handling dynamic aggregate predicates.
Authored by: dwarren 2019-02-06
Parent: [r9504]
Child: [r9506]