Fixed deleted thread bug in reports