Fix for Error with Aggregated Fields

Merged kainuk requested to merge issue-105 into master

Merge request reports