fix indexer for empty taxonomy vocabularies. fixes #13