I have used integrators in the feedback loop of standard inverting and noninverting amplifiers to eliminate DC off-set at the output. The circuit I'm talking about is something like this

simulate this circuit – Schematic created using CircuitLab
I understand the function of the integrator. It samples the DC offset at the output and it starts ramping the output of the integrator is feedback to the inverting input which gets added to the original offset but with opposite polarity. The integrator stops ramping (and stays there) when the offset at the output is zero.
Thats if we focus on DC, but what happens to AC? Imagine a 1KHz sine is inserted at the input. That means that the output of the integrator will be a cosine which is being fed back to the inverting input and added with the original signal.
Isn't this detrimental? I mean adding a cosine signal will affect the original AC signal (by a small amount.) Am I missing something?
