Improve References of references

It was generating fatal error when a Reference has another reference cached