Improved the sindex deletion unit test, and fixed sindex deletion.