Correctly use foldable-seq.