Fix two bugs that prevented the breaker from auto-resetting if the first auto-reset attempt failed