create filter class and refactor obligation filter code
cleanup
set up country filter
DRY filters partial
country filter tests
display selected countries' acceptance levels
invalid search query bug caught by tests
cleanup
install bullet (query optimizer gem)
test for excluding "not party to" status
exclude "not party to" status
cleanup
make tests pass
code cleanup
query optimization
fix ratifications bug
extract quotes to partial
re-optimize queries

that other optimization turned out to be much slower
filter.checked? method
add accepted column to acceptance levels try