CC-5697: Editing a linked show's repeat day sets wrong day for show content

Optimized how we store the instance ids that already exist