Debug database fix for couchdbkit 0.6.x