Fixes #6651 : dotContent Pull with Random sort fails.
Merge pull request #6661 from dotCMS/issue-6651-dotcontent-pull-with-random-sort-fails

Fixes #6651 : dotContent Pull with Random sort fails.