Strange behavior with SW Timer @ oh4

I have PIR and I just use the metadata expire on the switch item or virtual switch if you want to use that as well.
I have a rule that if there is movement then turn on the light with the expire metadata.
If the movement happens again before the timer expires it is reset.
Yes I know some will say that’s not what the expire is supposed to be used for but it works for me.