Fixed regressions and added test for ignore_errors=True