Reformats
Fixes #311.
Instead of returning the current minimum value, the aggregated template now uses the minimum value as a condition and returns the calculation-min-value as definet by the original template.