Fix dictionary copy bug in label logic