Update to address an issue where viewDetailedName could be nil and cause a crash when trying to insert nil into a literal dictionary.