Reset of TOKEN_CHECK and LAST_CHECK vars if [...]

[...] is invalid.