This is a great patch, but I'm having one small issue with it that I haven't been able to figure out on my own.
I have a user that wants to delete a reference and then re-import it and even if the reference was deleted, this still says there is a duplicate entry found and won't add a new one.
I thought maybe that it was just a cached entry causing issues, but issue persists even if I do "Configuration -> Performance -> Clear All Caches" and then try to import it after deleting.
Open to any thoughts or solutions.