[BUGFIX] Fix the wrong if statement for checking _ exists.

Resolves #1