Fixed wrong type detection in optimization passes
Fixed wrong type detection in optimization passes

WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc