I have the next query:

```
const foundDeal: any = await dealRepository.findOne({
  where: { id: dealId },
  relations: ['negotiationPointsDeals', 'chosenInventoryToSubtractQuantity',

    'chosenInventoryToSubtractQuantity.inventoryItemType',
    'chosenInventoryToSubtractQuantity.inventoryItemType.quality', 'negotiationPointsDeals.negotiationPointsTemplate',
    'chosenInventoryToSubtractQuantity.addressOfOriginId', 'chosenInventoryToSubtractQuantity.currentLocationAddress',

    'chosenInventoryToSubtractQuantity.labAttestationDocs',
    'chosenInventoryToSubtractQuantity.labAttestationDocs.storage',

    'chosenInventoryToSubtractQuantity.proveDocuments', 'chosenInventoryToSubtractQuantity.proveDocuments.storage',
    'chosenInventoryToSubtractQuantity.inventoryItemSavedFields', 'chosenInventoryToSubtractQuantity.inventoryItemSavedFields.proveDocuments',
    'chosenInventoryToSubtractQuantity.inventoryItemSavedFields.proveDocuments.storage',

    'sellerBroker', 'sellerBroker.users',
    'seller', 'seller.users',
    'buyerBroker', 'buyerBroker.users',
    'buyer', 'buyer.users',
    'order', 'order.inventory', 'order.inventory.inventoryItemType',
    'order.inventory.inventoryItemType.quality',
    'order.inventory.addressOfOriginId', 'order.inventory.currentLocationAddress',
    'order.inventory.inventoryItemSavedFields', 'order.inventory.inventoryItemSavedFields.proveDocuments',
    'order.inventory.inventoryItemSavedFields.proveDocuments.storage',

    'order.inventory.labAttestationDocs', 'order.inventory.labAttestationDocs.storage',

    // 'postTradeProcessingDeal', 'postTradeProcessingDeal.postTradeProcessingStepsDeal',

    'order.inventory.proveDocuments',
    'order.inventory.proveDocuments.storage',
    'negotiationPointsDeals.negotiationPointsTemplate.negotiationPointsTemplateChoices',
    'postTradeProcessing',
  ],
});

```

So, the error is next:

error: table name "Deal\_\_chosenInventoryToSubtractQuantity\_Deal\_\_chosenInventoryTo" specified more than once.

But I can't see any doubles in query.