Navigation stack isn't kept when navigating to a nested route
Describe the bug When navigating to a nested route the stack isn't kept.
To Reproduce Imagine that I have three modules: Home, Settings, and EditProfile. Home has a module route ('/settings/') for Settings Settings has a module route ('/edit_profile/') for EditProfile
Home -> Settings -> EditProfile
If, in Home I call Module.to.pushNamed('/settings/edit_profile') it correctly opens the EditProfile module, but it go back to the Home module when I pop it.
Here you can see that when popping EditProfile, it pops Settings aswell.
Expected behavior Keep the navigation stack. When poppig EditProfile, it should back to Settings isntead of Home
Screenshots
https://github.com/Flutterando/modular/assets/78375092/66f27c30-69b4-4c6f-be55-b6446390c92e