The navigator keeps the routestack in state, this seems to be used by getCurrentRoutes. I noticed this gets updated on push but not pop/popN.
I'd expect a state update similar to the following:
this.setState({
idStack: nextIDStack,
routeStack: nextStack,
sceneConfigStack: nextAnimationConfigStack,
updatingRangeStart: nextStack.length - 1,
updatingRangeLength: 1,
});