We have no good way to recover from this, and it's generally most likely to occur towards the end of the logs, so the most recent backup is still probably the best one to use.
We still need to investigate why log discontinuity has been happening more recently (ENG-11308), but I think this diff is a good idea either way.