#5185 and #5195
Merge pull request #5250 from dotCMS/issue-5195-Error-in-console-when-you-click-on-Next-button-in-Workflow-Tasks-pagination

#5185 and #5195