Fixed new items getting same ids