Check if relationships are dirty