Bugfix: Pending context switch triggered other interrupts as well.