Fix check for minutes in retry.