Multiple items listed together; fixed bug in check for duplicates