issue #378, failure to correctly link tags where one tag contains a substring of the other (depends on the order they are discovered).