Bug in CircularDependency tracking

Error in InstanceLookup constructor may result in Exception when attempting to find scope, such an exception cause inconsistent _callDepth value. 
This can cause a CircularDependency exception by reaching the threshold of the max depth.