Fix compare text regression