Fixed buffer overflow in RangeServer when returning large counter values