AdaEncoder: a library for use with simple quadrature encoders

I've encountered a bug with the AdaEncoder (old version).

So you power up, turn the encoder CCW... the counter decrement. All is good.

You stop turning, and then turn one click CW... the counter instead of incrementing as expected, instead decrements!
Turn it again by another click CW, then the counter increments correctly.

Stop turning. Turn encoder one click CCW... same bug. The counter will increment again, instead of decrementing (since we turned CCW).
Turn it again by another click CCW, now the counter decrements correctly.

It seems to be getting "lost" during that first click when you change from CW to CCW (and vice versa). It still thinks it was going the previous direction.

Does this update fix this bug?

Thanks.