Change comparison with none from == to is