make sure a genre/category is actually defined before appending tags