Have fixed the bug whereby having identical numbers in the middle of a
range caused problems. Multiple numbers of the same value should no
longer print.