Filter an object stream with a callback.