Fixed a heap corruption in the list header