Fixing issue with error on displaying items in trash