fix bug in state filtering; list.js doesn't chain