Counter ignoring decrement steps

Trying to setup something like this: How do you automate your vacuum for emptying the bin?

However, my counter jumps from 3 to 0 when returning and docking the Roborock S6 Pure and hence ignoring my decrement steps. Ideally, I would expect it to go from 3 to 2 to 1 to 0.

My counter and automation:

counter:
  tom_stovsuger:
    name: Tøm støvsuger
    icon: mdi:delete-empty
    initial: 3
    step: 1
alias: Robocop skal tømmes
id: robocop_skal_tommes
trigger:
  platform: state
  entity_id: vacuum.robocop
  from: "returning"
  to: "docked"
  
action:
  service: counter.decrement
  entity_id: counter.tom_stovsuger

Any ideas? Seems there should be a rather simple fix here but I am in a deadlock tbh!

Using the exact same logic but with increment from 0 to 3 works as intended from 0 to 1 to 2 to 3… so odd!