Fix couchdb backend make sure list items are unique.