A field was not reset properly in clear().