fixed bad logic re: adding duplicate elements to manip collections