Fixed the unduplication. One minor error; the last entry in the list is duplicated.
Fixed the duplicate final entry.