fixes #5777 in master 2.5
fixes #5777 missing case in master 2.5
Merge pull request #5804 from dotCMS/issue-5777-push-publishing-cache-not-working-properly

Issue 5777 push publishing cache not working properly