Bug fix for type references in cast expressions.