_.flatten shallow parameter now works as expected