Fix flaky acceptance test

This test occasionally fails due to the SQL query not being specific enough about how the records should be ordered. Note that for country code "TH" it was valid for the database to return the two records in either order.

@brianhw @rocha @benpatterson