Fix bug DNN-2958: show error message when the vocabulary name exist in same scope.