BUGFIX: The matching of tagName to anchors was inverted somehow