Correct validate_element() call.