Gracefully handle some odd scan documents.

Catch occasional document mode errors from Epson grayscale scans.