Removed duplicates from list; merge error?