Swapped logic for determining which underscore to use.