LPS-22792 simplify logic in AssetVocabularyImpl