Bugfix: fixed faulty error string comparison.
Merge pull request #4 from jbrukh/master

Bugfix: fixed faulty error string comparison.