Fix cleared scope field in attribute form when toggling unique