Clear hidden fields after selection changes