Make `forinifcheckneeded` attribute reset by the `state.reset()` method