LPS-44048 do less queries by filtering trashentries when cleaning
recycle bin.