A note on nonlinear filtering