Fixed flooding the console with "potential_ta.tagName" is undefined errors.