Correction of the modified/unmodified detection