#2764 fixed index deletion
Merge pull request #2766 from dotCMS/issue-2764-tests-broken

#2764 fixed index deletion