If statement being ignored?

Printable View