Fixed another if statement error