Fix assert_run_phase with block