Only consider versions which have not been released yet as candidates, and take the earliest one.  Ignore the current date.