Small changes in if statements.