If an image is modified with imagemagic, the original image thumbnail is still accessible via the EXIF data.
This behavior is by design. If the user wants to remove the exif data they can use the -strip option.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298051