[#78198458] Apply assert to function reset.