Fixing WeakRef wrapped in WeakRef bug