fixes #4424
Merge pull request #4623 from dotCMS/issue-4424-indexoutbounds-when-push-to-deleted-server

fixes #4424