Fix removing format for line formats without parentTag
Merge pull request #200 from leoasis/line_format_fix

Fix removing format for line formats without parentTag