Fix problems with CDataType in DebugMode

Why None is a valid value? To me, it should always be the second condition.