Forgot to remove duplicate letters from repetition detection