jobs/tsuru_beta_per_country: fix query