Fixed deletesolr function (not that it should be normally needed)