seq: fix reduce for lists