Fixing couchdb vacuum for agi.