Recursively removes array keys with null values.
Function similar to in_array() but it recursively searches a multi-depth array.