Fix the broken if logic in ImageQualityMeasure

4 jobs for p1 in 25 minutes and 5 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Build
passed #148227
docker
build_linux_27

00:14:41

56.0%
passed #148228
docker
build_linux_36

00:25:03

56.0%
passed #148229
macosx
build_macosx_27

00:15:38

56.0%
passed #148230
macosx
build_macosx_36

00:14:45

56.0%