Bugfix in indexing for local vocabs