Fixed isElementRangeOutOfBoundsDetection