Fix matching to smaller versions