Fix a couple of buglets relating to nodes for libraries which have been deleted and cannot assume the files under them exist