Fix duplicates. Remove whoosh dependencies