SERVER-9038 fixed nUpdated to correctly use the n value if no upserts