Fixing false positives for DOM cleanup.