Symmetric relationship fix, preserve existing behavior on older versions of Civi
This replaces !52 (closed) and preserves existing behavior for versions of CiviCRM that don't contain the RelationshipCache entity (pre-5.29).
This replaces !52 (closed) and preserves existing behavior for versions of CiviCRM that don't contain the RelationshipCache entity (pre-5.29).