Fixed bug where switching field types was disabling the accordions.