Improve update_wiring_status_operator_prefs_structure migration: add backward support and fix fordward implementation bug