Fix the if-not statement