fixes #4732
Merge pull request #4864 from dotCMS/issue-4732-duplicate-history-record-when-pushing-content

fixes #4732