Migrate the reduce map filter nodes. Fix some errors in the list test.
Fixes for map and reduce.