Fix a memory leak in filter result list