Execution fails to enter if statement when it should

Printable View