Fix order by, keyword search, and countries for agreement search.