Bugfix for modifier_min/max/minmax
Bugfix for modifier_min/max/minmax

In some occasions modifiers min, max and minmax were referring
to values beyond the given height threshold.

fmidev/himan,fmidev/himan,fmidev/himan