Fix IntegerType detection for typed sources