Check for duplicate pixels IDs when adding to list.
Merge pull request #2267 from ximenesuk/fix-duplicate-pixids-dev50

Check for duplicate pixels IDs when adding to list. (rebased)