Fixes cache codeBook emptying after history+maxCodeWordAgeInCache frames