Catch invalid nPercent value