anchor.diff:            th Country
             th Players
             th MMR
  -        each row, i in country_mmr.rows
  -          tr
  -            td=i+1
  -            td
  -              span.flag-icon(class="flag-icon-"+row.loccountrycode.toLowerCase())            
  -              =row.common
  -            td=row.count
  -            td=row.avg
  +        if country_mmr
  +          each row, i in country_mmr.rows
  +            tr
  +              td=i+1
  +              td
  +                span.flag-icon(class="flag-icon-"+row.loccountrycode.toLowerCase())            
  +                =row.common
  +              td=row.count
  +              td=row.avg
   
   append footer_assets
     script.
  -    var mmr = !{JSON.stringify(mmr.rows)};
  -    var count = !{mmr.sum.count};
  +    var mmr = !{JSON.stringify(mmr ? mmr.rows : [])};
  +    var count = !{mmr ? mmr.sum.count : 0};
       var counts = mmr.map(function(d){return d.count;});
       var names = mmr.map(function(d){return d.bin_name});
       var pcts = mmr.map(function(d){return d.cumulative_sum/count*100;});
  
positive.code:     c3.generate({
          bindto: "#lobby_type",
          data: {
              columns: lobby_type.rows.map(function(r){
                  return [r.display_name, r.count];
              }),
              type: 'pie'
  
negative.code:         }
      };
      c3.generate(options);
      var game_mode = !{JSON.stringify(game_mode ? game_mode.rows : [])};
      var lobby_type = !{JSON.stringify(lobby_type ? lobby_type.rows : [])};
      c3.generate({
          bindto: "#game_mode",
          data: {
              columns: game_mode.map(function(r){
                  return [r.display_name, r.count];
              }),
              type: 'pie'
  