Allow join conditons (relationship_type, is_active) when joining from the civicrm_contact to civicrm_relationship table.