Fixed conditional statement.