Checked to make sure a tag wasn't a 0-length string
Added tag ranking list