Modified scripts to exclude comments and posts that were deleted from threads