Fix for couchdb update when rev is missing.