Here you changed the description. The function only removes adjacent copies of an item, not all adjacent items.