Self closing tags are being checked properly