Fix Detection deletion on gdrive