[#877674] Fix cases with duplicate titles.