Add attachment filter to search results