Issue 4772 cache comparator compare violates contract