Have you run metadata tabulate on your taxonomy? If so, what do those results look like? I suspect this isn't a problem with the barplots specifically, but rather the taxonomic assignment. If that is the case, have a look at this post and please answer the questions posed in that post here. Thanks!