Hi, This is a known issue: Issues with jpegenc
It is fixed in next Jetpack 5.1.2. Please wait for the release.