Not sure why the if statement is ignored

Printable View