Trap empty constraint_id and invalid keys for widget_options data