Fixed a bug where 1,2,2, would appear as 1,2.