Changed name of tag_types table to tag_names