When you edit the "Wait for ExistsNot" step as coded step, the generated code does not reference the target element from the Pages. Instead, it creates a fixed find logic from the current state of the element in the Elements Explorer.
The issue is that when the find expression for that target element changes, the coded step fill not be updated.