[#42112145] fix ElecData unique constraint to reduce chance of duplicate entries after inline copied