Fix possible race condition + Permit undefined stream_filter option