Correct comparison of element names.