Fix typo in if/then