Fixed issue in semantic highlighting type errors