Fixes wrong escaping of redirection
Merge branch 'mongodb_direct_writer'