Change sf_*_next to sf_*_iter_next.