Bugfix for interrupts being dequeued while IA = 0.