Breaks when unshifted item is a duplicate.