12.x Fix Arr::forget() removing the wrong element
12.x Fix Arr::forget() removing the wrong element: a task in github-trending-environments-10k (Harbor dataset). Title: 12.x Fix Arr::forget() removing the wrong element
The task
**Title:** [12.x] Fix `Arr::forget()` removing the wrong element