Fix bug when tuple is a child of discriminated
tuple: add MIT license