now with_items also accepts sets

should fix #5847, which I created when I made 'set theory' filters return sets instead of lists

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>