felixge/node-dirty

load()ing adds deleted docs into _docs

aheckmann opened this issue · 1 comments

After loading from disk, deleted docs show up in the _docs array and are returned from filter() calls. Deleted docs shouldn't be added to the _docs array during load().

My proposed patch: [ http://github.com/aheckmann/node-dirty/commit/050a32dde338eff91ab413da1d01c875197cda77 ]