Fixed some of the problems revealed by the latest test of the remove function.
Fixed some of the problems revealed by the latest test of the
remove function.

vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL