This issue was fixed in the meanwhile. Please use the latest binding from OH5.1.0 SNAPSHOT. It comes with the fix for this issue together with several other improvements.
As alternative workaround you can add an (deactivated) StayoutZone (using the Automower App).