diff --git a/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php b/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
+++ b/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
@@ -435,7 +435,7 @@ class SimpleNegatedAssertionReconciler extends Reconciler
         bool $is_equality
     ) : Type\Union {
         $old_var_type_string = $existing_var_type->getId();
-        $did_remove_type = false;
+        $did_remove_type = $existing_var_type->hasScalar();
 
         if ($existing_var_type->hasType('false')) {
             $did_remove_type = true;
Allow false to be removed from scalar

Fixes #<I>