Fix timeline broken behavior on clip deletion.

Related to #524
1 job for master in 13 minutes and 56 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #28193
linux kf5-qt5 qt5.12

00:13:56

20.0%