fixed filter flags effects

It is now possible to use the stream in the injected function if and
only if the filter flag is set to false.