Set taxonomic term only if term is not an empty string