Both comparisons now use the recorded value, never a fresh clock read, so a midnight boundary mid-test cannot flake them.