So, do I understand it correctly that when you execute the scan for the first time (from Simple UI), you don't get the error, and subsequent scans (of the same areas, with the same settings) do report the error?
JPG files are scanned only during a "thorough scan" from Simple UI.