If statement should be true, but isn't?

Printable View