How your lookup table looks like?

I could be wrong but probably the generated asm for the IF/THEN have some CLRWDT while the lookup don't?