Remove tmp dir from searches