Correct a segfault in the string value of token_value when its destructor is called