[SCR] Fixed case when type_analsysis is None.