Effect of Fourier filters in removing periodic systematic effects from CMB data