Actually you can drop this since CVideoDatabase::DeleteSet already contains the necessary logic to remove the deleted set from all affected movies.