Fix essential outcomes array_filter