Correctly sanitize array access on PdfNFePHP library to avoid "undefined index" error.