Unique entries

When the first and last entry are the same we only need one of them.