small fix in sampleTruncatedNumNewTopics