Fixes RangeContext tests in IE7