Corrected thread tags count error