Fix countdown ending behavior

The countdown properly ends when the start time is higher than the
target time.