The current code was not properly checking for the active state when checking any_errors_fatal, so if the error occurred in a sub-block or included file it is not properly detected. Fixes #55515