Fix parameters to deleteAll()