Fix some more stupid bugs in whoosh_index_zim.py