Fix deletion of routing info when closing tab