Save 2 bytes in the internal function `flatten`

Just 2 minor bytes.