Do not crash on node pruning in Locator.