Fix circular dependency bug

Without a strict comparison, this will bring bring PHP into an infinite recursion, when the objects in the collection contain circular references. This simple flag fixes the problem, as now just the object references are compared, and not their values.