JAL-2068 code and test for case of minValue == maxValue