ommit deleted dirs on db