Scattering of light by a periodic structure in the presence of randomness. III. Limit of the extended matched filtering method for the detection of weak periodicities.