Logic for handling conditional OCR generation from islandora_book_batch.