Fix MAGN-3992

MaximumItem and MinimumItem don't handle mixed array of integer and
double values properly.
Fixed by using DoubleConverter as item selector for Min() and Max
methods.
Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3992