Fix when change condition type, xml not reflect