Changed clearing to a hidden field to be consistent with the rest of the code.