Sub material duplicate entry fix