Anagram miscomputation