Added two checks for spurious menus and taxonomic vocabularies.