Search widget: fix reference to old treenode.location format