Fix array_filter error message when debug_stuff is false