Fix bug with unregistering more routers than needed
0.10.1