Fixed a bug that prevented Custom default values from working with hidden fields.