fixes #5497
Merge pull request #5878 from dotCMS/issue-5497-fullreindex-query-improvement

fixes #5497