prevent opening of tab page for trees which no longer exist