Fix invalid inverse relationship.