Add checking of resulting tuple length when unpacking an iterator