Fixes the --noerror option