fix bug on removal of ordered primitive and enumerations.
Never called the code that manages the linked lists.