Print the value of your variables before you go through all those if-else-statements and see for yourself.

kind regards,

Jos