[TIMOB-15661] Fixed bug where parent namespaces were not being added to the symbols.