fixes #5389
Merge pull request #5401 from dotCMS/issue-5389-site-search-error-in-windows

fixes #5389