Adding debugging for "Object has no .eq method"