Fix 'Trying to get property of non-object'

new code for removing paragraphs inside line items was showing some issues when paragraphs were added by other code that changes line breaks to paragraphs. Quick XPath change to make it work as expected.