Legend fixes

A couple of fixes to the legend processor and old api converter (with regards to legend).

Summary:

* Changed oldapi converter so that if there are more legends than legend processors the extra legends are added to the legend attributes going to the last legend processor.  This way no data is lost.
* Legend label was getting added to the incorrect spot.