Slight improvement to nested element looping. Still could use lovin' though.