Fixed error in left,right,min,max string to remove trailing comma if there are not enough AM distances to match the AN azimuths.