Filtering of nonlinear stochastic feedback systems