Correction for the voltage program length check