Fix Duplicate items bug for ids with more then 255 characters