Fixed a bug that occurred if a thread returns no comments