fix equals_true check (#2)