fixes #5437
Merge pull request #5474 from dotCMS/issue-5437-cant-save-cats-on-content

fixes #5437 #5438