fixes #2050
Merge pull request #2080 from dotCMS/issue-2050-publishing-page-does-not-publish-remotely

fixes #2050