Fix Issue 12996 - SList: linearRemove cannot remove root node