if many matches, use latest date unless older match is longer