Added missing $config argument

The recursively clean arrays doesn't work with dynamic configurations