Fixed bug in ConvertToStaticTypeIssue