Fix an invalid string dereference.