_.flatten shallow parameter now works as expected

The documentation says that _.flatten() should flatten the first level of the array when the "shallow" parameter is set to true. Instead of that, it was doing nothing but simply returning the input array. Now it works as documented, for example {1, {2, {3}}} becomes {1, 2, {3}}