This is related to the edit function not working correctly.
When editing a file, for instance to correct an orientation issue by rotating it 90 degrees, the subsequent workflow results in loosing the original image altogether.
Here are the steps:
I've attached a screen recording that demonstrates the issue.