Robot fails when finding greater or less than using > or <

I am using the symbols > and < to determine whether values are greater or less than each other. The robot completes the action correctly when, for example, i use value1 > value 2
however, when I use, for example, value 1 < value two, the robot does not complete the run correctly. The values are dates, and it returns 01/01/0001.

Please help!

Link the workflow, please!

I cannot unfortunately. But this is the process I am using:

Read in excel with dates
for each row in excel, assign row(0) as current date
if current date is less than early date, then assign current date as early date
and then vice versa for latest date.

It works fine when i write current date > latest date
but current date < early date does not work.