Fixed a bug causing a linear number of elements to the left of the chain being printed.