Fix Issue 12996 - SList: linearRemove cannot remove root node
Merge pull request #2271 from sigod/issue_12996

Fix Issue 12996 - SList: linearRemove cannot remove root node