Correctly handle cases when a record to "stories" / "media_sets" is being INSERTed and thus the "old record" doesn't exist