Fixed error value for not unique items