Fix exception in virus scan.