Fix comments tree update for threads.