Add error handling code to remove unexpected strings from travel stats.