collation: Refactor getFirstLetterData() cache handling