Use the right variable for determining that we exited the loop without
finding an interrupt handler.