Changed an if condition from "equals" to "identity"