Fix a wrong comparison in the interrupt handler.

ok syl@