Standardize case in tagName comparison