Fix DecimalType detection for typed sources