nodelist flat_map over map.flatten

Probably a micro-optimization, but simple and theoretically cheaper :-)

@dylanahsmith @jasonhl