Fix handling of SampleNode in SymbolExtractor