Does the call to `regenereate_cached_topic_hierarchies` below not also invalidate the video page?

If it does, then this loop can be simplified down into just `touched_video_ids += youtube_ids_to_delete`.