Fix bug when processing interrupts