Use filter() to generate a list of valid quickfix items