Fixing a bug in hasDontEnumBug browsers.
Using a simpler check.