Fix a cache bug on document reexamination
Merge pull request #177 from kigeia/testing

Fix a cache bug on document reexamination