Minor fix to highstoc lib to prevent an exception during chart destruction.