I was trying to figure out how this happened. How do you know this plugin did it?!
First, congratulations for the great work, your plugin helps a lot.
The problem is also occurring here.
See how the error occurs:
Whenever REGENERATE feature runs, ALL files in SVG format are deleted from upload folders.
On the media display screen I can still see the deleted SVG files,
“may be cached”.
But in the place where the file was inserted on the site. nothing is displayed.
I say this a long time ago, but the developers never give a feedback. See:
https://wordpress.org/support/topic/my-images-disappeared-after-clicking-regenerate/