fix an issue occurring when the previous sibling has no name.
Merge pull request #7 from antoine-richard/issue-no-previous-sibling

fix an issue occurring when the previous sibling has no name.