Fixed bug saving new topics and generating minhash signature