The question is not very clear, and the goal far from obvious, but note that in the symbols tree view there are headers (like *Functions*, *Classes*, *Structs*, etc.) that don't have tags attached, so it's expected getting the content of the TAG column for them yields `NULL`.