Fix UnneededPercentQ

A correction for #1210 and for another false positive I found in the process.