Fixes for Whoosh 1.0, and better index recreation.