fixes #5031
Merge pull request #5033 from dotCMS/issue-5031-posting-of-comments-not-loading-correct-page

fixes #5031