Problem with item group on 2.4.0

Hi

I’m wondering whether anyone of you having this problem. I have a group which previously defined as Number:AVG for a number of member items. Recently, I change it to Nunber:MAX and it works for the moment I save the .items file. Afterward, it reverts back to AVG calculation. Any idea where to check whether the system has correctly updated to MAX? Thanks

Using Jython with the openhab2-jython libraries:

from core.log import logging, LOG_PREFIX
log = logging.getLogger(LOG_PREFIX + ".TEST")
log.info("[{}]".format(ir.getItem("gForecast_Cloudiness_1").getFunction()))

Using the DSL:

rule "Test"
when
    System started
then
    logInfo("Rules", "Test: [{}]", gForecast_Cloudiness_1.getFunction)
end

Results:

2019-03-11 02:17:07.477 [INFO ] [org.eclipse.smarthome.model.script.Rules] - Test: [org.eclipse.smarthome.core.library.types.ArithmeticGroupFunction$Max@35e4705f]
2019-03-11 02:19:09.681 [INFO ] [jsr223.jython.TEST] - [org.eclipse.smarthome.core.library.types.ArithmeticGroupFunction$Max@35e4705f]