fixes filter config generation

checks for presence and a non-empty collection