Defensive coding in listfilters model