Why Does The Last Condition Doesn't Met Even Though The Output Is Correct?