fixes #4329 Script errors on Workflow Tasks search
Merge pull request #4390 from dotCMS/issue-4329-script-errors-on-workflow-tasks-search

fixes #4329 Script errors on Workflow Tasks search