Separators now updated properly if bad encoding.
Added in specs and fixed edge case.
Merge pull request #10 from pressdoc/hotfix/reset_separators_properly

Hotfix/reset separators properly