Fixed planning with is_anytime = true.