Component is creating duplicated data
### Node Version

22.14.0

### NPM/Yarn/PNPM Version

NPM 10.8.2

### Strapi Version

5.10.4

### Operating System

Docker/Podman/LXC

### Database

MariaDB

### Javascript or Typescript

Javascript

### Reproduction URL

_No response_

### Bug Description

I have created `event` and `registration`.
After `registration` creation, updating `event` with Document Service API, I have found the data is not updated correctly.
It turns out it was updating a wrong record (database record).
Going into the database, I have found the data was created duplicatedly.

### Steps to Reproduce

1. Create a component
2. Create another component, with a "component (repeatable)" field of the one created in the step 1
3. Create a collection, with a dynamic zone, with the component created in step 2
4. Create a record in the collection
5. Observe the database. Duplicated records are created

### Expected Behavior

No duplicated data

### Logs

```shell

```

### Code Snippets

`strapi/src/components/event-features/scratch-card.json`
```
{
  "collectionName": "components_event_features_scratch_cards",
  "info": {
    "displayName": "Scratch Card",
    "description": ""
  },
  "options": {},
  "attributes": {
    "Name": {
      "type": "string",
      "required": true
    },
    "Content": {
      "type": "richtext",
      "required": true
    },
    "Weight": {
      "type": "integer",
      "default": 0
    },
    "Revealed": {
      "type": "integer",
      "default": 0
    },
    "Maximum": {
      "type": "integer",
      "default": 0
    }
  }
}
```

`strapi/src/components/event-features/scratch-card-stack.json`
```
{
  "collectionName": "components_event_features_scratch_card_stacks",
  "info": {
    "displayName": "Scratch Card Stack"
  },
  "options": {},
  "attributes": {
    "Cards": {
      "type": "component",
      "repeatable": true,
      "component": "event-features.scratch-card"
    }
  }
}
```

`strapi/src/api/event/content-types/event/schema.json` (snippet)
```
{
  "kind": "collectionType",
  "collectionName": "events",
  "info": {
    "singularName": "event",
    "pluralName": "events",
    "displayName": "01 Event",
    "description": ""
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {
    "i18n": {
      "localized": true
    }
  },
  "attributes": {
    "Name": {
      "pluginOptions": {
        "i18n": {
          "localized": true
        }
      },
      "type": "string",
      "required": true
    },
    "Features": {
      "type": "dynamiczone",
      "components": [
        "event-features.scratch-card-stack"
      ]
    }
  }
}
```

### Media

1. There is `Features`

![Image](https://github.com/user-attachments/assets/619d582d-fe61-43ee-8f39-349f1d7e9384)

```
MariaDB [strapi]> select * from components_event_features_scratch_cards;
Empty set (0.000 sec)
```

2. Click `Add a component to Features`

3. Create 3 entries `A1`, `B1` and `C1`. `Publish`.

![Image](https://github.com/user-attachments/assets/5a6b518e-59d2-40d5-a40b-4bd052ad5aba)

```
MariaDB [strapi]> select * from components_event_features_scratch_cards;
+----+------+---------+--------+----------+---------+
| id | name | content | weight | revealed | maximum |
+----+------+---------+--------+----------+---------+
| 33 | A1   | A1      |      0 |        0 |       0 |
| 34 | B1   | B1      |      0 |        0 |       0 |
| 35 | C1   | C1      |      0 |        0 |       0 |
| 36 | A1   | A1      |      0 |        0 |       0 |
| 37 | B1   | B1      |      0 |        0 |       0 |
| 38 | C1   | C1      |      0 |        0 |       0 |
+----+------+---------+--------+----------+---------+
6 rows in set (0.000 sec)
```

4. Add one more entry `D2`. `Publish`.

![Image](https://github.com/user-attachments/assets/b2235307-6c73-4dc0-9836-ea582b404577)

```
MariaDB [strapi]> select * from components_event_features_scratch_cards;
+----+------+---------+--------+----------+---------+
| id | name | content | weight | revealed | maximum |
+----+------+---------+--------+----------+---------+
| 33 | A1   | A1      |      0 |        0 |       0 |
| 34 | B1   | B1      |      0 |        0 |       0 |
| 35 | C1   | C1      |      0 |        0 |       0 |
| 39 | D2   | D2      |      0 |        0 |       0 |
| 40 | A1   | A1      |      0 |        0 |       0 |
| 41 | B1   | B1      |      0 |        0 |       0 |
| 42 | C1   | C1      |      0 |        0 |       0 |
| 43 | D2   | D2      |      0 |        0 |       0 |
+----+------+---------+--------+----------+---------+
8 rows in set (0.002 sec)
```

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).