Fixed a navigation state bug with child routers.