Fixed a bug with hidden fields and conditional logic.