For some reason, /edit can now be /edit/ (e.g. when opening a new tab by double-clicking on a subworkflow). In this case, the nav links are both not selected:
/edit
/edit/
This MR fixes this but I am not sure it is the best way 🤷