How to reset conditional fields when selection is changed