Fixed a bug in the new "hidden fields" implementation.