Fixes attribute code set by PropertyAdd plugin