fix first-pass log key addition and seq tree row removal
fix first-pass log key addition and seq tree row removal

fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb