Update directory filtering on search.