fixes #6488
Merge pull request #6504 from dotCMS/issue-6488-unable-to-run-a-scheduled-sitesearch-job-now

fixes #6488