Fixed a typo for handling underscore characters.