Add checks in the idx_storage that the same content/rev/orig is not present twice in the new data.
To avoid SQL errors.