When a dynamic record is updated to simple record, the filter chains and answer groups are not cleared. This keeps the record at higher tier. When sync is run again, Ns1Provider will think its still a dynamic record and refuse to populate in absence of proper notes, and will show an update in the plan.
This PR clears filters and answer groups (aka regions in the API) for all simple records. Tested that this makes the record bump down to a lower tier which correctly gets inferred as a simple record by Ns1Provider and doesn't trigger an update.
When a dynamic record is updated to simple record, the filter chains and answer groups are not cleared. This keeps the record at higher tier. When sync is run again, Ns1Provider will think its still a dynamic record and refuse to populate in absence of proper notes, and will show an update in the plan.
This PR clears filters and answer groups (aka regions in the API) for all simple records. Tested that this makes the record bump down to a lower tier which correctly gets inferred as a simple record by Ns1Provider and doesn't trigger an update.