Removal of is_empty_tuple and is_empty_seq.
Corrected test for an empty array.