Bugfix: fixed faulty error string comparison.