Fixed itertools.chain call