Support tuple validation and flattening properly.