bugfix when routes_rating = [] (sometimes it is undefined, sometimes it is an empty list)
bugfix when routes_rating = [] (sometimes it is undefined, sometimes it is an
empty list)

c2corg/c2c-stats,c2corg/c2c-stats