Adds error handling for sindex create and drop (cf. Issue #578).
merged