Allow check for scan failure. For test of bug #647.