There are shortcomings in your tutorial.
There are two types of corrupt elements, one that only affects next the element and one that affects all subsequent tile elements.
You did not mention the `ride set type` command. (The exact command may have been slightly different, don't remember it exactly right now).