Corrected Logic Error in type2UserAnalyze