Fixed my if statement