Normally what you agreed should be the result (unless your opponent disagreed).
Besides your counting is right as W chain is dead.
Luckily you are still winning (mods can only annul a game if necessary).
To avoid this, i advise to remove the stones by capture (will not affect the score in chinese rules) but that may launch the new anti stalling feature after 3 pass of your opponent. I dunno more.
See for example this: