CRM-13969 - Fix  error if no tags defined
Merge pull request #2210 from colemanw/4.4

CRM-13969 - Fix  error if no tags defined