fixed issue with handling new form of containment path.
added check for containment path that only contains an error type or
type set reference.