Conditions are not working such as If..else

Hi,

In my script I used If… else. but while executing it always passes the control in if statement even if condition is wrong. Again after that control goes to else part also.

Can you please fix this issue as its basic thing that should work?

Conditions work for me.