Fix issue 107: timestamps are updated even if guard fails.