fixes #6683
Merge pull request #6684 from dotCMS/issue-6683-make-restful-portlet-nav-more-forgiving

fixes #6683