fix export_rep bug in CompoundCondition