ugh, this has been because of another recent fix where a users CPID changed and they got multiple images. I created a new unique index using the users id as part of the key, but of course for the MM badges it's not related to an individual project so doesn;t have an id so I use 0 - all inserts after the first one then fail for the MM badges as they duplicate the index.

Bottom line is I'm going to have to figure out some unique # for the user for these.