Fix issue while analyzing generic types that have recursive constraints (e.g. using the generic type being defined as a base type)