Fix a typo in memoizing the animated shas.

I'm guessing this will speed something up?