Corrected if-expression.