Fixed bug in TopicModel relateExistingNodes