Rewrite unless case flow with positive case first.

Small change for readability as advised by PullReview. Using unless
with else makes the code more difficult to follow as the else part is a
double negative. This commit rewrites the flow with the positive case
first.