A fix for constant type determination.