Fix assertion verification when using cached discovered information