Fix ByteRange::getEnd usage.