Updated to stop duplicates from entering cart