Typo.
Missed A=>B steps.
Use foldMap1Opt instead.
Also use *opt variants for directional folds.