fixes #4560
Merge pull request #4676 from dotCMS/issue-4560-cache-stats-comparator-error

fixes #4560