JAL-2684 JAL-2822 avoid out of bounds exception if edit position is beyond sequence...