Flipped around the if-else statement to avoid the ugly nesting. Pure cosmetic.