Fixed bad if statement

-not