Update PdfOptimizer.php

Added if clause for Scantailor