Fixed bug in operation of virtual interrupt