Make badge matching fail more gracefully.