Correct result on update with upsert=true