fixed illegal removal of old files' states
Merge branch 'master' of github.com:araqne/logdb