🇩🇪Germany u.kurilla
I am working on a d7->d10 migration with 220 field_instance(s) to be migrated. It was frustrating and time consuming to get crashes of "drush mim" due to this array_filter issue (yes, crashes). I was not brave enough to suspect the core code to have a problem. It was only after i found this issue thread here that i simply removed the function call (patch #6) and all the problems disappeared! I am so happy, that you discussed this here.
However, i think the patch should find a way into the core code for all the d7+ drupal versions.