Fixed the problem where if there was a number in between 2 similar numbers then the 2 similar numbers will combine