How do I get rid of the 687 phantom events?

This might be the reason why I'm getting error messages about duplicate primary keys. I don't want to delete any rows in wp_posts because I don't know if that would cause problems with wp_postmeta.

If possible, I'd like to be able to salvage the 13 events currently in the trash. If I can't, no big deal.

I already try deleting and reinstalling the plugin.