Fixes maximum and minimum aggregation forms
Merge pull request #45 from mezuro/fix_aggregation_forms

Fixes maximum and minimum aggregation forms