Use replacement document for upserts with no modifiers (#741)
Regression test so that upserts never replace document data