Fix #576 for Array when having ports with tuples