opencv_traincascade only performs this check after the first stage and setup work have been run. This prevents that work (sometimes up to an hour) from being saved.