fix bug caused by merging a dup_media story into a media for which that story did not yet exist