Fixed closing tags being checked incorrectly