Cleaning up a nested if - no logic changes

I believe nested `if`s have to die. This commit kills one of them.