fix infinite loop on reset_all
Merge branch 'master' of github.com:medialab/Hypertext-Corpus-Initiative