IV clone delete erases wrong interaction

Description

To reproduce:
1) Go to editor of IV
2) Add video
3) Add a text interaction
4) Add otter text interaction later
5) Go back to first text interaction
6) Clone text interaction
7) Delete the new clone
8) Press save
9) Observe that the clone is still there, but the second text interaction you created was deleted instead.

Environment

None

Acceptance Criteria

1) Cloning and deletion of clone must work as designed

Assignee

Frode Petterson

Reporter

Thomas Marstrander

Funding

None

Code reviewer

None

Released

Released

Time tracking

0m

Fix versions

Sprint

None

Affects versions

Priority

Medium
Configure