Fixed a bug with tuples.