This issue relates in some way to
The new modeler adds the cancelActivity flag as a property in the JSON representation of the process, but on import (when converting to json) the flag is accidentally misplaced.
One can work around the problem by opening the 5.17 web editor and re-reselecting the cancel Activity checkbox then saving and deploying. All is good (after fixing that is)
However, that's a bit nasty.