Fix an off-by-one in fallback interface selection