fix issue with deleting all indexes on a server