Fix on dupliate lumi count, using set instead of list to improve efficiency