fixes #4897 Error when you click on categories re-order
Merge pull request #5042 from dotCMS/issue-4897-Error-when-you-click-on-categories-re-order

fixes #4897 Error when you click on categories re-order