Term: complimentary dysfunction
Example: joe and jen were both [dysfunctional], but they get along so well it must be complimentary dysfunction
Definition: when two people in a relationship, have different personal issues, but get along well