Don't create errors at negative offsets.

Fixed #66
Merge pull request #67 from dragos/issue/unclosed-comment-66

Don't create errors at negative offsets.