Configurable timer: slider does not update Number item (when decreasing the slider)

I would like to have a configurable timer using a slider. Whenever I increase the slider, it works fine: the rule triggers and the slider text is updated. However when I decrease the slider, the rule is not triggered and the slider text is not updated. I have tried the following.

Any clues why this is not working? (I am using OpenHab v4.0.3)

Items

Number GF_Bathroom_Main_Timer "Remaining [JS(min2hour.js):%s]" <time>  (CountDownTimers) {expire="1m,command=-1", autoupdate="false"}

Rules

rule "Timer Changed"
when
    Item GF_Bathroom_Main_Timer changed
then
    val timerItem = GF_Bathroom_Main_Timer
    logInfo("events_contact.rules", String.format("Timer '%s' changed to '%s' minmutes.", timerItem.name, timerItem.state))
end

Sitemap

Slider item=GF_Bathroom_Main_Timer minValue=0 maxValue=10

Never mind… I had forgotten that there was another rule behind CountDownTimers and that rule was having that specific behavior. I now updated it to the following and it works as expected.

rule "Manage countdown timer"
when
	Member of CountDownTimers received command
then
	var cmmd = (receivedCommand as Number).intValue // integers only
	var count = if (triggeringItem.state != NULL) (triggeringItem.state as Number).intValue else 0 
    
	if (cmmd < 0 && count > 0) {  // decrement counter, do not go below zero
		triggeringItem.postUpdate(count + cmmd)
	} else if (cmmd == 0) {  // cancel countdown
		triggeringItem.postUpdate(0)
	} else if (cmmd > 0) {  // new target
		triggeringItem.postUpdate(cmmd)
	}
end