diff --git a/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php b/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php
index e6527d02c1c4e6621c7ab521820df9c4b71bac19..99e4204ed3c1179ccff7a01ea5027136b2cd9bf3 100644
--- a/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php
+++ b/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php
@@ -501,9 +501,7 @@ class DeletedRecords
 
     protected function resolveTree(int $id, int $depth, int $begin = 0, string $permsClause = ''): array
     {
-        $depth = (int)$depth;
-        $begin = (int)$begin;
-        $id = abs((int)$id);
+        $id = abs($id);
         $theList = [];
         if ($begin === 0) {
             $theList[] = $id;