Flipped all if statements.