If db replace doesn't find a document just insert it as a new document